package com.wzf.greattruth.jvm.optimization;

public class Org {
    Data data = new Data();
    static class Data {
        int value;
        final int getValue() {
            return value;
        }
    }
    public void doJob() {
        int y = data.getValue();
        // do other job
        int z = data.value;
        int sum = y + z;
    }
}
